package com.example.zhunongzonghe.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@ApiModel(value="ZnFarmhouse对象", description="")
public class ZnFarmhouseBean implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 农家乐表
     */
    private Integer houseId;
    /**
     * 农家乐店家名
     */
    private String houseName;
    /**
     * 图片
     */
//    private List<String> housePicture;
    private String housePicture;
    /**
     * 价格
     */
    private BigDecimal housePrice;
    /**
     * 农家乐信息
     */
    private String description;
    /**
     * 所属地区
     */
    private String houseRregion;
    /**
     * 联系电话
     */
    private String housePhone;
    /**
     * 详细地址
     */
    private String districtAddress;
    /**
     * 营业状态，1为营业，0为未营业 
     */
    private Integer businessStatus;
    /**
     * 营业时间
     */
    private String businessTime;
    /**
     * 地理位置编码,108.313440,22.833852
     */
    private String houseLatitude;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;


    private boolean collectOrNot;//是否收藏
    private Integer CollectCount;//收藏数量
}
